<template>
  <div class="head-control">
    <div class="search">
      <svg-icon name="icbc-rect" size="38"></svg-icon>
      <div class="search-input">
        <p>请输入内容</p>
        <svg-icon name="search"></svg-icon>
      </div>
      <div class="close">
        <svg-icon name="close" size="36" color="RGBA(99, 130, 170, 1)"></svg-icon>
      </div>
    </div>
    <div class="all-bank">
      <span>全部</span>
      <svg-icon name="arrows_d" color="#999"></svg-icon>
    </div>
    <div class="data-analysis">
      <svg-icon name="analysis"></svg-icon>
      <span>数据分析</span>
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="less" scoped>
.head-control {
  position: absolute;
  top: 70px;
  z-index: 1000;
  width: 100%;
  height: 46px;
  padding: 0 32px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  .search {
    display: flex;
    align-items: center;
    width: 350px;
    height: 46px;
    box-sizing: border-box;
    background: rgba(58, 104, 174, 0.7);
    border-radius: 5px;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.4);
    border: 1px solid #bce8ff;
    padding-left: 4px;
    overflow: hidden;
  }
  .search-input {
    flex: 1;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    p {
      color: #999;
    }
  }
  .close {
    width: 44px;
    height: 44px;
    background: #1A407A;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .all-bank {
    width: 100px;
    height: 46px;
    box-sizing: border-box;
    background: rgba(58, 104, 174, 0.7);
    border-radius: 5px;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.4);
    border: 1px solid #bce8ff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px 0 10px;
    margin-left: 20px;
    span {
      color: #fff;
    }
  }
  .data-analysis {
    width: 110px;
    height: 46px;
    box-sizing: border-box;
    background: rgba(58, 104, 174, 0.7);
    border-radius: 5px;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.4);
    border: 1px solid #bce8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    span {
      color: #fff;
      margin-left: 4px;
    }
  }
}
</style>
